import service from "../index"

export function getTablePage(data) {

    return service({
        url: "/manage/v1/admin/find/page/player",
        method: 'post',
        data
    })
}

export function addPlayer(data){
    return service({
        url: "/manage/v1/admin/add/player",
        method: 'post',
        data
    })
}

export function editPlayer(data){
    return service({
        url: "/manage/v1/admin/edit/player",
        method: 'post',
        data
    })
}

export function delPlayer(data){
    return service({
        url: "/manage/v1/admin/delete/player",
        method: 'post',
        data
    })
}
